using System;
using System.Collections.Generic;
using Diagram.Model;

namespace PetriDiagram.Model
{
    [Serializable]
    public abstract class PetriNetEntity : Entity
    {
        private PetriNetModel net;

        public PetriNetEntity( PetriNetModel net )
            : base( net )
        {
            this.net = net;
        }


        protected PetriNetModel Net
        {
            get { return net; }
        }

        public abstract ICollection<PetriNetEntity> Inputs { get; }
        public abstract ICollection<PetriNetEntity> Outputs { get; }
    }
}
